package cn.wolfcode.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Setter
@Getter
@ToString
@TableName("role_permission")
public class RolePermission {
    @TableId(type=IdType.AUTO)
    private Long id;
    @TableField(value = "role_id")
    private Long  roleId;
    @TableField(value = "permission_id")
    private Long  permissionId;
}
